package com.zzx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzx.domain.Category;
import com.zzx.domain.Vo.AddCategoriesVo;
import com.zzx.util.ResponseResult;

/**
 * (Category)表服务接口
 *
 * @author makejava
 * @since 2022-08-01 19:40:52
 */
public interface CategoryService extends IService<Category> {

    ResponseResult getCategoriesList(Integer type, Integer pagenum, Integer pagesize);

    ResponseResult addCategories(AddCategoriesVo categoriesVo);

    ResponseResult selectCategoriesById(Integer id);

    ResponseResult updateCategoriesById(Integer id,AddCategoriesVo addCategoriesVo);

    ResponseResult deleteCategoriesById(Integer id);

}

